package com.silverbox.sweeporder.controller.index.vo;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * <pre>
 * 功    能:
 * 涉及版本:
 * 创 建 者: YangYangjun
 * 日    期: 2020-04-27 17:34
 * </pre>
 */
public class PromotionInfoVO {

    @ApiModelProperty(notes = "活动主键id")
    private Long id;

    @ApiModelProperty(notes = "每日结束时间")
    private Long dayEnd;

    @ApiModelProperty(notes = "每日开始时间")
    private Long dayStart;

    @ApiModelProperty(notes = "是否适用外卖")
    private Integer isTakeOut;

    @ApiModelProperty(notes = "活动名称")
    private String name;

    @ApiModelProperty(notes = "商家ID")
    private Integer shopId;

    @ApiModelProperty(notes = "门店ID")
    private Integer storeId;

    @ApiModelProperty(notes = "适用周期")
    private String weeklys;

    @ApiModelProperty(notes = "推广详情")
    private String promotionDesc;

    @ApiModelProperty(notes = "推广等级")
    private Integer promotionLevel;

    @ApiModelProperty(notes = "规则业务类型（1：单品批量特价2：单品批量打折3：单品特价23：订单折扣21：订单满X折Y）")
    private Integer promotionType;

    @ApiModelProperty(notes = "客户类型1：所有客户2：促销会员")
    private Integer customerType;

    @ApiModelProperty(notes = "单店允许参与次数")
    private Integer participationTime;

    @ApiModelProperty(notes = "是否叠加使用 1：是，0：否")
    private Integer isOverlayUser;

    @ApiModelProperty(notes = "使用门槛:0:全场,1买同款")
    private Integer promotionLimit;

    @ApiModelProperty(notes = "活动单位:0:满多少元xxx;1,满多少件xxx")
    private Integer promotionUnit;

    @ApiModelProperty(notes = "赠送类型:0:不限款,1:赠同款")
    private Integer giveType;

    @ApiModelProperty(notes = "优惠规则:0:折扣,1:立减")
    private Integer discountRule;

    public Long getId() {
        return id;
    }

    public PromotionInfoVO setId(Long id) {
        this.id = id;
        return this;
    }

    public Long getDayEnd() {
        return dayEnd;
    }

    public PromotionInfoVO setDayEnd(Long dayEnd) {
        this.dayEnd = dayEnd;
        return this;
    }

    public Long getDayStart() {
        return dayStart;
    }

    public PromotionInfoVO setDayStart(Long dayStart) {
        this.dayStart = dayStart;
        return this;
    }

    public Integer getIsTakeOut() {
        return isTakeOut;
    }

    public PromotionInfoVO setIsTakeOut(Integer isTakeOut) {
        this.isTakeOut = isTakeOut;
        return this;
    }

    public String getName() {
        return name;
    }

    public PromotionInfoVO setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getShopId() {
        return shopId;
    }

    public PromotionInfoVO setShopId(Integer shopId) {
        this.shopId = shopId;
        return this;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public PromotionInfoVO setStoreId(Integer storeId) {
        this.storeId = storeId;
        return this;
    }

    public String getWeeklys() {
        return weeklys;
    }

    public PromotionInfoVO setWeeklys(String weeklys) {
        this.weeklys = weeklys;
        return this;
    }

    public String getPromotionDesc() {
        return promotionDesc;
    }

    public PromotionInfoVO setPromotionDesc(String promotionDesc) {
        this.promotionDesc = promotionDesc;
        return this;
    }

    public Integer getPromotionLevel() {
        return promotionLevel;
    }

    public PromotionInfoVO setPromotionLevel(Integer promotionLevel) {
        this.promotionLevel = promotionLevel;
        return this;
    }

    public Integer getPromotionType() {
        return promotionType;
    }

    public PromotionInfoVO setPromotionType(Integer promotionType) {
        this.promotionType = promotionType;
        return this;
    }

    public Integer getCustomerType() {
        return customerType;
    }

    public PromotionInfoVO setCustomerType(Integer customerType) {
        this.customerType = customerType;
        return this;
    }

    public Integer getParticipationTime() {
        return participationTime;
    }

    public PromotionInfoVO setParticipationTime(Integer participationTime) {
        this.participationTime = participationTime;
        return this;
    }

    public Integer getIsOverlayUser() {
        return isOverlayUser;
    }

    public PromotionInfoVO setIsOverlayUser(Integer isOverlayUser) {
        this.isOverlayUser = isOverlayUser;
        return this;
    }

    public Integer getPromotionLimit() {
        return promotionLimit;
    }

    public PromotionInfoVO setPromotionLimit(Integer promotionLimit) {
        this.promotionLimit = promotionLimit;
        return this;
    }

    public Integer getPromotionUnit() {
        return promotionUnit;
    }

    public PromotionInfoVO setPromotionUnit(Integer promotionUnit) {
        this.promotionUnit = promotionUnit;
        return this;
    }

    public Integer getGiveType() {
        return giveType;
    }

    public PromotionInfoVO setGiveType(Integer giveType) {
        this.giveType = giveType;
        return this;
    }

    public Integer getDiscountRule() {
        return discountRule;
    }

    public PromotionInfoVO setDiscountRule(Integer discountRule) {
        this.discountRule = discountRule;
        return this;
    }
}
